/**
 * Created by guojianyu on 2016/3/28.
 */
var myApp = angular.module('businessApp', ['ngRoute']);
myApp.config(function ($routeProvider, $httpProvider) {
    $routeProvider.when('/businessWelcome', {
        templateUrl: 'businessWelcome'
    });
    $routeProvider.otherwise({redirectTo: '/businessWelcome'});
});
/**=========================================================
 * Module: Notify
 *js notify.js
 =========================================================*/
var myApp =angular.module('businessApp').service('Notify', [function(){
    this.success = function(message){
        $.notify(message,
            {status: 'success'});
    }
    this.error = function(message){
        $.notify(message,
            {status: 'danger'});
    }
    this.warning = function(message){
        $.notify(message,
            {status: 'warning'});
    }
}]);
